<?php

//function my_autoloader($class)
//{
//    include 'A.php';
//}
spl_autoload_register('A');
//spl_autoload_register(function($class){
//    include $class.'.php';
//},true);

$s = new A();
$s->testA();
